Welcome Guest, you are in: Login
CTS Futures

Page History: Collateral Report

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2012/12/18 09:33



Application Reports

The Collateral Report message (MsgTyp=BA) responds to the Collateral Inquiry message by listing detail information about accounts position, account updates, accoung permissions and financial balanes. Reports can generated as the result of the following events,

* Listing Account Details for a connected User
* Account Subscription Requests
* Account Updates
* Account Position Updates

Responding to the Request to List User Accounts

A Collateral Inquiry request for a list of accounts (MsgType=BB with Tag 263=0) returns Collateral Reports for each of the account the user has access to. The Account name is specified in the Accounts field (Tag 1). The corresponding AccountID is specified in the PartyID (Tag 448). Basic Balance information (e.g. Start Cash=Tag 921) is also provided. This report is differentiated by its Quantity Type equal to Account-List (Tag 854=1).

Responding to Account Subscription Request

A Collateral Inquiry request to subscribe to User Accounts (MsgType=BB with Tag 263=1) returns a combinations of Collateral Reports, Execution Reports and Security Definitions for orders, fills, positions, account details, account updates and account position updates. The Collateral Report message provides information on the following categories:

1. Account Details

Account Details carry information in account privileges, account permission and account configuration. This report is differentiated by its Quantity Type equal to Account-Details (Tag 854=2).

2. Account Updates

Account Updates carry information in the instantaneous state of account Balances as Start Cash, Margin Requirements, etc. This report is differentiated by its Quantity Type equal to Account-Update (Tag 854=3). Note that Account Updates can be generated asynchronously without a preceding Collateral Inquiry.

3. Account Position Updates

Account Position Updates carry information on the combination of all open positions, working orders and fills for a given security within an account. Among other fields, this type of Collateral Report provides balances on working orders with number of buys and sells (Tags 3002 and 3003), number of short and long positions (Tag 53) and Open Volume (Tag 3011). This report is differentiated by its Quantity Type equal to Account-Position-Update (Tag 854=4). Note that Account Position Updates can be generated asynchronously without a preceding Collateral Inquiry.


Message Dictionary

TagField NameReq'dComments
Standard HeaderYMsgType = BB
908CollInquiryIDNUnique identifier for the collateral inquiry that generated this report.
909CollReportIDYUnique identifier for this report.
910CollStatusNStatus of Entity carried by this report.
911TotNumReportsNTotal number of Collateral Reports associated with its Collateral Inquiry.
912LastReportRequestedNIndicator whether this report is that last in the series of TotNumReports (Tag 911).
1AccountNAccount for which this report pertains.
Start Repeating Group
453NoPartyIDsNNumber of PartyIDs fields requested. Repeating Group.
448PartyIDYPartyID as applicable to the Party Role (Tag 452):
452PartyRoleNIdentifies the Type of PartyID. The valid values are:
24 = Customer Account
3 = Order Id
End Repeating Group
Start Repeating Group
136NoMiscFees|| NNumber of repeating groups of miscellaneous fees
137MiscFeeAmtYMiscellaneous fee value.
138MiscFeeCurrYCurrency of miscellaneous fee
139MiscFeeTypeYIndicates type of miscellaneous fee.
891MiscFeeBasisYDefines the unit for a miscellaneous fee. The valid values are:
0 = Absolute
1 = Per Unit
2 = Percentage
End Repeating Group
58TextNFree form Text.
15CurrencyNXXX
899MarginExcessNXXX
900TotalNetValueNXXX
901CashOutstandingNXXX
921StartCashNXXX
922EndCashNXXX
53QuantityNXXX
854QuantityTypeNXXX
55SymbolNXXX
48SecurityIDNXXX
207SecurityExchangeNXXX
200MaturityMonthYearNXXX
167SecurityTypeNXXX
201PutOrCallNXXX
202StrikePriceNXXX
75TradeDateNXXX
3000BuysNXXX
3001SellsNXXX
3002WorkingBuysNXXX
3003WorkingSellsNXXX
3004OvernightUPLNXXX
3005AverageOpenTicksNXXX
3006OvernightPositionNXXX
3007CurrencyRateNXXX
3008TotalBuyFillTicksNXXX
3009TotalSellFillTicksNXXX
3010TotalOpenTicksNXXX
3011TotalOpenVolumeNXXX
3100AccountIDNXXX
3101AccountNameNXXX
3102ActiveTimeStartNXXX
3103ActiveTimeStopNXXX
3104BlockExpiringNXXX
3105DayLossLimitNXXX
3106DeletedNXXX
3107DisplayNameNXXX
3108EditMarginNXXX
3109EMailNXXX
3110EnabledNXXX
3111FirmNXXX
3112FirmIDNXXX
3113LossLimitNXXX
3114LossLimitPCNXXX
3115MarginPCNXXX
3116MaxAccountPositionNXXX
3117MaxClipSizeNXXX
3118MaxContractMarginNXXX
3119MaxPositionNXXX
3120MinBalanceNXXX
3121ModeNXXX
3122OrderRoutingNXXX
3123OvernightMarginPCNXXX
3124ParentFirmIDNXXX
3125PLRolloverNXXX
3126PositionRolloverNXXX
3127PreTradeDisabledNXXX
3128RiskAlertsNXXX
3129RiskDebugNXXX
3130RiskDebugOrdersNXXX
3131StrategyMaxClipSizeNXXX
3132StrategyMaxPositionNXXX
3133StrategyTotalPitTradesNXXX
3134TotalPitTradesNXXX
3135UsePLForMarginNXXX
3136WarningThresholdLossLimitNXXX
3137WarningThresholdMarginNXXX
3138WarningThresholdPLNXXX
3139WideMarketNXXX
12CommissionNXXX
13CommTypeNXXX
Standard TrailerY




Sample Messages

Account Details


[FIXCOLLATERALINQUIRY] 34=64|49=T4Test|56=test|52=20121218-15:19:15.357|909=ci-12/18/2012 9:19:15 AM|263=2|725=0|453=1|
448=9A65B2FE-1D27-4230-A942-F60983CFB33B|452=24|938=1|896=0|

[MsgSeqNum] 34 = 64
[SenderCompID] 49 = T4Test
[TargetCompID] 56 = test
[SendingTime] 52 = 20121218-15:19:15.357
[CollInquiryID] 909 = ci-12/18/2012 9:19:15 AM
[SubscriptionRequestType] 263 = 2 (DISABLE_PREVIOUS_SNAPSHOT_PLUS_UPDATE_REQUEST)
[ResponseTransportType] 725 = 0 (IN_BAND)
[NoPartyIDs] 453 = 1
[PartyID] 448 = 9A65B2FE-1D27-4230-A942-F60983CFB33B
[PartyRole] 452 = 24 (CUSTOMER_ACCOUNT)
[NoCollInquiryQualifier] 938 = 1
[CollInquiryQualifier] 896 = 0 (CUSTOMER_ACCOUNTS)



[fixcollateralreport] 34=1463|49=test|56=T4Test|50=T4FIX|52=20121218-15:19:17.806|908=cr-634914191578066280|909=ci-12/18/2012 8:54:31 AM
|910=3|911=1|912=Y|1=ernesto|453=1|448=9A65B2FE-1D27-4230-A942-F60983CFB33B|136=1|137=-1|139=C|854=2
|3100=9A65B2FE-1D27-4230-A942-F60983CFB33B|3101=ernesto|3104=-1|3105=0|3106=N|3108=N|3110=Y|3111=test
|3112=2884B215-4A4B-4E9D-A40E-F8212D713E13|3113=0|3114=0|3115=100|3116=-1|3117=10|3118=-1|3119=-1|3120=0|3121=C
|3122=N|3123=100|3124=2884B215-4A4B-4E9D-A40E-F8212D713E13|3125=Y|3126=Y|3127=Y|3128=Y|3129=N|3130=N|3131=1000
|3132=-1|3133=100|3134=100|3135=Y|3136=-1|3137=-1|3138=10|3139=-1|12=2.5|

[MsgSeqNum] 34 = 1463
[SenderCompID] 49 = test
[TargetCompID] 56 = T4Test
[SenderSubID] 50 = T4FIX
[SendingTime] 52 = 20121218-15:19:17.806
[CollRptID] 908 = cr-634914191578066280
[CollInquiryID] 909 = ci-12/18/2012 8:54:31 AM
[CollStatus] 910 = 3 (ASSIGNED)
[TotNumReports] 911 = 1
[LastRptRequested] 912 = Y (YES)
[Account] 1 = ernesto
[NoPartyIDs] 453 = 1
[PartyID] 448 = 9A65B2FE-1D27-4230-A942-F60983CFB33B
[NoMiscFees] 136 = 1
[MiscFeeAmt] 137 = -1
[MiscFeeType] 139 = C
[QtyType] 854 = 2 (ACCOUNT_DETAILS)
[AccountID] 3100 = 9A65B2FE-1D27-4230-A942-F60983CFB33B
[AccountName] 3101 = ernesto
[BlockExpiring] 3104 = -1
[DayLossLimit] 3105 = 0
[Deleted] 3106 = N
[EditMargin] 3108 = N
[Enabled] 3110 = Y
[Firm] 3111 = test
[FirmID] 3112 = 2884B215-4A4B-4E9D-A40E-F8212D713E13
[LossLimit] 3113 = 0
[LossLimitPC] 3114 = 0
[MarginPC] 3115 = 100
[MaxAccountPosition] 3116 = -1
[MaxClipSize] 3117 = 10
[MaxContractMargin] 3118 = -1
[MaxPosition] 3119 = -1
[MinBalance] 3120 = 0
[Mode] 3121 = C
[OrderRouting] 3122 = N
[OvernightMarginPC] 3123 = 100
[ParentFirmID] 3124 = 2884B215-4A4B-4E9D-A40E-F8212D713E13
[PLRollover] 3125 = Y
[PositionRollover] 3126 = Y
[PreTradeDisabled] 3127 = Y
[RiskAlerts] 3128 = Y
[RiskDebug] 3129 = N
[RiskDebugOrders] 3130 = N
[StrategyMaxClipSize] 3131 = 1000
[StrategyMaxPosition] 3132 = -1
[StrategyTotalPitTrades] 3133 = 100
[TotalPitTrades] 3134 = 100
[UsePLForMargin] 3135 = Y
[WarningThresholdLossLimit] 3136 = -1
[WarningThresholdMargin] 3137 = -1
[WarningThresholdPL] 3138 = 10
[WideMarket] 3139 = -1
[Commission] 12 = 2.5



Account Update


[fixcollateralreport] 34=1464|49=test|56=T4Test|50=T4FIX|52=20121218-15:19:17.806|908=cr-634914191578066280
|909=ci-12/18/2012 8:54:31 AM|910=Unrestricted|911=1|912=Y|1=ernesto|453=1|448=9A65B2FE-1D27-4230-A942-F60983CFB33B
|136=1|137=5|899=50935|900=0|901=0|921=-3501094.9228|53=15 13 -2|854=3|

[MsgSeqNum] 34 = 1464
[SenderCompID] 49 = test
[TargetCompID] 56 = T4Test
[SenderSubID] 50 = T4FIX
[SendingTime] 52 = 20121218-15:19:17.806
[CollRptID] 908 = cr-634914191578066280
[CollInquiryID] 909 = ci-12/18/2012 8:54:31 AM
[CollStatus] 910 = Unrestricted
[TotNumReports] 911 = 1
[LastRptRequested] 912 = Y (YES)
[Account] 1 = ernesto
[NoPartyIDs] 453 = 1
[PartyID] 448 = 9A65B2FE-1D27-4230-A942-F60983CFB33B
[NoMiscFees] 136 = 1
[MiscFeeAmt] 137 = 5
[MarginExcess] 899 = 50935
[TotalNetValue] 900 = 0
[CashOutstanding] 901 = 0
[StartCash] 921 = -3501094.9228
[Shares] 53 = 15 13 -2
[QtyType] 854 = 3 (ACCOUNT_UPDATE)


Account Position Update


[fixcollateralreport] 34=1465|49=test|56=T4Test|50=T4FIX|52=20121218-15:19:17.806|908=cr-634914191578066280
|909=ci-12/18/2012 8:54:31 AM|911=1|912=Y|1=ernesto|453=1|448=9A65B2FE-1D27-4230-A942-F60983CFB33B|136=1|137=5|899=21875|900=0|901=0|53=5 5 0|854=4
|55=ES|48=CME_20121200_ESZ2|207=CME_Eq|200=201212|167=FUT|75=20121218|3000=4|3001=0|3002=1|3003=0|3004=287.5|3005=141575|3006=2
|3007=1|3008=566300|3009=0|3010=709150|3011=5|

[MsgSeqNum] 34 = 1465
[SenderCompID] 49 = test
[TargetCompID] 56 = T4Test
[SenderSubID] 50 = T4FIX
[SendingTime] 52 = 20121218-15:19:17.806
[CollRptID] 908 = cr-634914191578066280
[CollInquiryID] 909 = ci-12/18/2012 8:54:31 AM
[TotNumReports] 911 = 1
[LastRptRequested] 912 = Y (YES)
[Account] 1 = ernesto
[NoPartyIDs] 453 = 1
[PartyID] 448 = 9A65B2FE-1D27-4230-A942-F60983CFB33B
[NoMiscFees] 136 = 1
[MiscFeeAmt] 137 = 5
[MarginExcess] 899 = 21875
[TotalNetValue] 900 = 0
[CashOutstanding] 901 = 0
[Shares] 53 = 5 5 0
[QtyType] 854 = 4 (ACCOUNT_POSITION_UPDATE)
[Symbol] 55 = ES
[SecurityID] 48 = CME_20121200_ESZ2
[SecurityExchange] 207 = CME_Eq
[MaturityMonthYear] 200 = 201212
[SecurityType] 167 = FUT (FUTURE)
[TradeDate] 75 = 20121218
[Buys] 3000 = 4
[Sells] 3001 = 0
[WorkingBuys] 3002 = 1
[WorkingSells] 3003 = 0
[OvernightUPL] 3004 = 287.5
[AverageOpenTicks] 3005 = 141575
[OvernightPosition] 3006 = 2
[CurrencyRate] 3007 = 1
[TotalBuyFillTicks] 3008 = 566300
[TotalSellFillTicks] 3009 = 0
[TotalOpenTicks] 3010 = 709150
[TotalOpenVolume] 3011 = 5


FIX API Home Page.

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.